package com.eddie.strategy.improve;


/**
 * @author Eddie
 * @date 2022/08/08 13:47
 **/
public class PeKingDuck extends Duck {

    public PeKingDuck() {
        this.setFlyBehavior(new BadFlyBehavior());
    }

    @Override
    public void display() {
        System.out.println("~~~~~北京鸭子~~~~~");
    }
}
